package com.hmkj.core.service.holiday.impl;

import com.hmkj.common.baseMapper.GenericMapper;
import com.hmkj.core.mapper.holiday.HolidayMapper;
import com.hmkj.core.po.holiday.Holiday;
import com.hmkj.core.service.holiday.HolidayService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 节假日业务相关Service接口实现<br>
 *
 * @ClassName: HolidayServiceImpl
 * @author eproo
 * @date   2018-07-10 04:27:40
 */
@Service
@Scope("prototype")
@Transactional(rollbackFor = Exception.class)
public class HolidayServiceImpl implements HolidayService {

	@Resource
    private HolidayMapper holidayMapper;

    @Override
    public GenericMapper<Holiday,Integer> _getMapper() {
        return holidayMapper;
    }

}
